import React, { Component } from 'react'
import Login from './login'
import Logout from './logout'
import Register from './register'
import LoginHOC from './loginHOC'
import LogoutHOC from './logoutHOC'
import RegisterHOC from './registerHOC'
export class index extends Component {
  render() {
    return (
      <div>
        <Login></Login>
        <Logout></Logout>
        <Register></Register>
        <hr/>
        <p>下面是使用高阶组件方法实现的组件</p>
        <LoginHOC></LoginHOC>
        <LogoutHOC></LogoutHOC>
        <RegisterHOC></RegisterHOC>
        </div>
    )
  }
}

export default index